package com.ucode.search.crm.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ucode.search.crm.model.ESContacts;
import com.ucode.search.crm.service.ESContactsService;
import com.ucode.springboot.starter.ESsearch.repository.ElasticsearchSearchTemplate;
import com.ucode.tool.base.Paginator;

@Service
public class ESContactsServiceImpl implements ESContactsService{

    @Autowired
    private ElasticsearchSearchTemplate<ESContacts, Long> esSearchTemplate;

    @Override
    public Paginator<ESContacts> searchByUser(List<Long> userIds, Integer prole, String keyword, Integer pageNum, Integer pageSize) throws Exception {
        
        return null;
    }
    
}
